﻿using RoadTeam.FineFile.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace RoadTeam.FineFile.Code
{
    public class GetRelaInfo
    {
        public List<String> GetRelaPath(List<String> liPath, String XmlPath, ref  List<UpdateInfo> liUpdate)
        {
            List<String> liNewPath = new List<string>();
            XmlOpera opera = new XmlOpera();
            //GetRelaPathInfo(List<String> liPath, List<String> liNewPath, String StrPath, String DevDate, String XmlPath, List<UpdateInfo> liUpdate)
            String StrPath = String.Empty;
            String DevDate = String.Empty;
            for (int i = 0; i < liPath.Count; i++)
            {
                StrPath = liPath[i].Split('|')[0];
                DevDate = liPath[i].Split('|')[1];
                opera.GetRelaPathInfo(liPath, liNewPath, StrPath, DevDate, XmlPath, liUpdate);
            }
            return liNewPath;
        }
    }
}
